﻿using CoachingOrganizer.Logic.Models.Tools.MoneyCalculation;
using CoachingOrganizer.WinPhone.UITools;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoachingOrganizer.WinPhone.ViewModels.Tools.MoneyCalculation
{
    public class PeriodReportViewModel : ViewModelBase
    {
        private readonly PeriodReportModel _model;

        public PeriodReportModel Model
        {
            get { return _model; }
        }

        public string StrPeriod
        {
            get { return string.Format("{0} - {1}", _model.StartDate, _model.FinishDate); }
        }

        public PeriodReportViewModel(PeriodReportModel model)
        {
            _model = model;
        }
    }
}
